- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
15.0.2
 
- 
Code
 
- 
Classes
 
-  Rest_Authentication 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											29 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											17 | 
										
																	
							 
													
								
																			
											| Total lines | 
											221 | 
										
																			
											| Lines of code | 
											104 | 
										
																			
											| Logical lines of code | 
											47 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											83 | 
										
																			
											| Methods | 
											7 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 7
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| wp_rest_authenticate() | 
									B  | 
																	38 | 
													19 | 
													75 | 
							
					
				| init() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| wp_rest_authentication_errors() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| is_signed_with_blog_token() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| is_signed_with_user_token() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| __construct() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| reset_saved_auth_state() | 
									S  | 
																	77 | 
													1 | 
													4 |